<?php




require_once APPLICATION_PATH.'./views/helpers/Anchor.php';

class My_View_Helper_AnchorZona extends My_View_Helper_Anchor {

    /**
     * @param int $idZona
     * @param string $url
     * @param string $content
     * @param array|string $attribs
     * @return string 
     */
    public function anchorZona($idZona,$url, $content = '', $attribs = null)
    {
        if(!is_numeric($idZona)){
            throw new Zend_Exception('Falta Parametro idZona en helper anchorZona');
        }
        $url=$url."/idZona/$idZona";
        return $this->anchor($url, $content, $attribs);
    }

}